using System;
using System.Collections.Generic;
using System.Text;

namespace ECommerce.Library
{
    public class BaseControl : System.Web.UI.UserControl
    {
        public static string rootPath = string.Empty;

        public BaseControl()
        {
            this.Load += new EventHandler(BaseControl_Load);
        }

        void BaseControl_Load(object sender, EventArgs e)
        {
            rootPath = Page.ResolveUrl("~");
        }
    }
}
